import java.util.Arrays;

public class MUJI {
    public static void main(String[] args) {
        int [] arr=new int[]{65,89,56,78,45,69,59};
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));


    }

}
